home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / disk / misc / ADFlib.lha / Demo / Makefile next >
Makefile  |  1999-05-24  |  1KB  |  71 lines

  1. # unadf
  2.  
  3. LIBDIR=../Lib
  4. LIBNAME=libadf.a
  5.  
  6. DEPEND=makedepend
  7.  
  8. CFLAGS=-I$(LIBDIR) -O2 -Wall
  9. LDFLAGS=-L$(LIBDIR) -ladf
  10.  
  11. EXES= unadf
  12.  
  13.  
  14. all: $(EXES)
  15.  
  16. run: $(EXES)
  17.     unadf -h
  18.     unadf -lrcs -v 1 ../../hd.adf
  19.  
  20. lib:
  21.     cd $(LIBDIR) && $(MAKE)
  22.  
  23. unadf: lib unadf.o
  24.     $(CC) $(CFLAGS) -o $@ unadf.o $(LDFLAGS)
  25.  
  26. clean:
  27.     rm *.o $(EXES) core newdev
  28.  
  29. depend:
  30.     $(DEPEND) -v -- $(CFLAGS) --  *.[ch]
  31.  
  32.  
  33. # DO NOT DELETE THIS LINE -- make depend depends on it.
  34.  
  35. unadf.o: ../Lib/adflib.h
  36. # ../Lib/adflib.h includes:
  37. #    adf_defs.h
  38. #    adf_str.h
  39. unadf.o: ../Lib/adf_defs.h ../Lib/adf_str.h
  40. # ../Lib/adf_str.h includes:
  41. #    stdio.h
  42. #    adf_defs.h
  43. #    adf_blk.h
  44. #    adf_err.h
  45. unadf.o: /usr/include/stdio.h
  46. # /usr/include/stdio.h includes:
  47. #    libio.h
  48. #    stdio_lim.h
  49. unadf.o: /usr/include/libio.h
  50. # /usr/include/libio.h includes:
  51. #    features.h
  52. #    _G_config.h
  53. #    stdarg.h
  54. unadf.o: /usr/include/features.h
  55. # /usr/include/features.h includes:
  56. #    sys/cdefs.h
  57. #    gnu/stubs.h
  58. unadf.o: /usr/include/sys/cdefs.h
  59. # /usr/include/sys/cdefs.h includes:
  60. #    features.h
  61. unadf.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h
  62. # /usr/include/_G_config.h includes:
  63. #    gnu/types.h
  64. #    stddef.h
  65. unadf.o: /usr/include/gnu/types.h
  66. # /usr/include/gnu/types.h includes:
  67. #    features.h
  68. unadf.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
  69. unadf.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h
  70. unadf.o: /usr/include/stdio_lim.h ../Lib/adf_blk.h ../Lib/adf_err.h
  71.